package hash.hashmap7;

import org.junit.Test;

import java.util.concurrent.ConcurrentHashMap;

public class DiyTest {


    @Test
    public void demo(String[] args) {
        DiyHashMap7 diyHashMap7 = new DiyHashMap7();
        diyHashMap7.put("你好","田才");
        diyHashMap7.put("你好","田才2");

        System.out.println(diyHashMap7.get("你好"));
    }

    @Test
    public void demo2(String[] args) {

        ConcurrentHashMap chm = new ConcurrentHashMap();

        chm.put("","");
    }
}
